#ifndef EXPERIMENTRESULTUI_H
#define EXPERIMENTRESULTUI_H

#include <QObject>
#include <QQmlEngine>
#include <QQuickWidget>

class ExperimentResultUI : public QQuickWidget
{
    Q_OBJECT
    QML_ELEMENT

signals:
    void nextPage(); // 切换到下一页
    void prevPage(); // 切换到上一页

public:
    ExperimentResultUI();
    ~ExperimentResultUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;


};

#endif // EXPERIMENTRESULTUI_H
